package cn.javass.dp.visitor.example3;

public class PredilectionAnalyzeVisitor implements Visitor {
    @Override
    public void visitEnterpriseCustomer(EnterpriseCustomer ec) {
        System.out.println(ec.getName()+"企业偏好分析");
    }

    @Override
    public void visitPersionalCustomer(PersonalCustomer pc) {
        System.out.println(pc.getName()+"个人偏好分析");

    }
}
